package com.redteam.data.enums;

/**
 *
 * @author Teddy Karam
 */
public enum PaymentType {

    /**
     * Shows a <code>PaymentType</code> of type credit
     */
    credit("credit"),
    /**
     * Shows a <code>PaymentType</code> of type debit
     */
    debit("debit"),
    /**
     * Shows a <code>PaymentType</code> cash
     */
    cash("cash"),
    /**
     * Shows a <code>PaymentType</code> check
     */
    check("check"),
    /**
     * Shows a <code>PaymentType</code> house account
     */
    houseAccount("houseAccount");
    private String description;

    PaymentType(String description) {
        this.description = description;
    }

    /**
     * Returns the description of the payment type
     * @return
     */
    public String getDescription() {
        return this.description;
    }
}
